<?php

namespace App\Models;

use App\Engine\BaseModel;
use Illuminate\Database\Eloquent\Model;

class InviteRecord extends BaseModel
{
    public function user()
    {
        return $this->belongsTo('App\Models\User','uid','id');
    }

    public function agent()
    {
        return $this->belongsTo('App\Models\User','agent_id','id');
    }
}
